class Leaf implements IPoint {
    private String name;

    Leaf(String name) {
        this.name = name;
    }

    @Override
    public void getInfo() {
       System.out.println(name);
    }

    @Override
    public void addChild(IPoint point) {

    }
}
